package com.crape.common.model;

import com.crape.common.utils.StringUtil;

/**
 * 问题关注关系类
 * 
 * @author ChenKai 2012-11-4 下午12:26:43
 */
public class QuestionRef {

    private Long   id;        // ID
    private Long   accountid; // 用户ID
    private Long   questionid; // 问题ID
    private String createdate; // 创建时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public Long getQuestionid() {
        return questionid;
    }

    public void setQuestionid(Long questionid) {
        this.questionid = questionid;
    }

    public String getCreatedate() {
        return StringUtil.getTimeStr(createdate);
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }
}
